import sys
on_status = {'': False}
output = sys.stdout
def on(name = '' , status = None):
    global on_status
    if status == True or status == False:
        on_status[name] = status
        return
    if name in on_status: return on_status[name]
    return False
def log(msg):
    print >> output, msg

